//
//  HJChatGroupModel.h
//  KaiChat
//
//  Created by lx on 2023/10/23.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HJChatGroupModel : NSObject

@property (nonatomic, copy) NSString *groupId;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *avatar;
@property (nonatomic, copy) NSString *notice;
@property (nonatomic, copy) NSString *groupOwner;
@property (nonatomic, copy) NSString *intro;
@property (nonatomic, copy) NSString *createTime;

@property (nonatomic, strong) NSNumber *openVerify;
@property (nonatomic, strong) NSNumber *hasApply;
@property (nonatomic, strong) NSNumber *showNotice;
@property (nonatomic, strong) NSNumber *status;
@property (nonatomic, strong) NSNumber *isTop;
@property (nonatomic, strong) NSNumber *isMute;
@property (nonatomic, strong) NSNumber *role;
@property (nonatomic, strong) NSNumber *memberNums;

@property (nonatomic, strong) NSArray *userList;
@property (nonatomic, strong) NSArray *administratorList;
@property (nonatomic, strong) NSAttributedString *searchAttributedString;

+ (HJChatGroupModel *)groupModelWithDict:(NSDictionary *)dict;
+ (HJChatGroupModel *)modelWithBlock:(void (^)(HJChatGroupModel *model))block;

@end

NS_ASSUME_NONNULL_END
